package com.java1412;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author java1412
 * @since 2023-10-27 16:51:09
 */
@SpringBootApplication
// 开启eureka的客户端
@EnableEurekaClient
// 开启服务发现
@EnableDiscoveryClient
// 开启feign的客户端
@EnableFeignClients
public class ServiceFeignApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceFeignApplication.class, args);
    }
}
